build: Clean up Wayland protocol code generation
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 26 Apr 2017 14:16:21 +0000 (15:16 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 May 2017 14:10:57 +0000 (15:10 +0100)
commit561f41d112e048004b71e732d406f02d393f2a85
tree5ed77a127d3fe28614c76d5e0a858a7d95d5bf65
parent6b4b3f2f6cee3a2067972a0d4f6bf4a816323576
build: Clean up Wayland protocol code generation

We can build the name of the input and output files for the Wayland
protocols we use from the protocol name, stability, and version. This is
similar to how the autotools build does it, except much more clear and
without shelling out twice to sed just to resolve the Makefile rule.
gdk/wayland/genprotocolfiles.py
gdk/wayland/meson.build